<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
	<p:messages autoUpdate="true" />
	<h:form>
		<h:panelGrid columns="3" style="margin-bottom:10px" cellpadding="1">
			
			<p:outputLabel for="hasAddressCard" value="Lakcímkártya" />
			<p:selectBooleanCheckbox id="hasAddressCard" value="#{customerMaintBean.loanApplication.hasAddressCard}" />
			<p:message for="hasAddressCard" />
			
			<p:outputLabel for="hasIDCard" value="Személyi igazolvány" />
			<p:selectBooleanCheckbox id="hasIDCard" value="#{customerMaintBean.loanApplication.hasIDCard}" />
			<p:message for="hasIDCard" />
			
			<p:outputLabel for="hasTaxCard" value="Adókártya" />
			<p:selectBooleanCheckbox id="hasTaxCard" value="#{customerMaintBean.loanApplication.hasTaxCard}" />
			<p:message for="hasTaxCard" />

			<!-- 			//TODO: odaír egy nullát a végére -->
			<p:outputLabel for="birthday" value="Születési idő" />
			<h:outputText id="birthday" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.birthday}" />
			<p:message for="birthday" />
			
			<p:outputLabel for="citizenship" value="Állampolgárság" />
			<h:outputText id="citizenship" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.citizenship}" />
			<p:message for="citizenship" />
			
			<p:outputLabel for="education" value="Képzettség" />
			<h:outputText id="education" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.education}" />
			<p:message for="education" />
			
			<p:outputLabel for="maritalStatus" value="Családi állapot" />
			<h:outputText id="maritalStatus" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.maritalStatus}" />
			<p:message for="maritalStatus" />
			
			
			
			<h:outputText for="zipCode" value="Irányítószám: " />
			<h:outputText id="zipCode" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.address.zipCode}" />
			<p:message for="zipCode" />

			<h:outputText for="country" value="Ország: " />
			<h:outputText id="country" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.address.country}" />
			<p:message for="country" />

			<h:outputText for="state" value="Állam/Megye: " />
			<h:outputText id="state" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.address.state}" />
			<p:message for="state" />

			<h:outputText for="city" value="Város: " />
			<h:outputText id="city" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.address.city}" />
			<p:message for="city" />

			<h:outputText for="streetName" value="Utca: " />
			<h:outputText id="streetName" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.address.streetName}" />
			<p:message for="streetName" />

			<h:outputText for="houseNumber" value="Házszám: " />
			<h:outputText id="houseNumber" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.address.houseNumber}" />
			<p:message for="houseNumber" />
			
			
			
			<p:outputLabel for="residency" value="Állandó lakóhelyén" />
			<h:outputText id="residency" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.residency}" />
			<p:message for="residency" />
			
			<p:outputLabel for="emailAddress" value="Email" />
			<h:outputText id="emailAddress" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.emailAddress}" />
			<p:message for="emailAddress" />
			
			<p:outputLabel for="mobilePhone" value="Mobiltelefon" />
			<h:outputText id="mobilePhone" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.mobilePhone}" />
			<p:message for="mobilePhone" />
			
			<p:outputLabel for="wiredPhone" value="Vezetékes telelfon" />
			<h:outputText id="wiredPhone" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.wiredPhone}" />
			<p:message for="wiredPhone" />
			
			<p:outputLabel for="otherPhone" value="Egyéb telefon" />
			<h:outputText id="otherPhone" styleClass="outputLabel" value="#{customerMaintBean.loanApplication.otherPhone}" />
			<p:message for="otherPhone" />
		</h:panelGrid>
		<p:commandButton process="@form" update="@form" value="Mentés" disabled="#{customerMaintBean.loanApplication.status gt 2}" />
	</h:form>
</ui:composition>